Offline learning atlas / Foundation 0.11.0

Objective-C Foundations

One registry. Progressive tested packs. A source that keeps every edition aligned.

285registry entries
20families
19tested packs
225examples and solutions

Local and downloadable. No API keys, network calls or automatic execution of pasted code. Version 0.11.0, 2026-10-26.

Tested learning pack

Objective-C Foundations

Objects and messages, properties, Foundation values, UTF-16, protocols, categories, blocks, ARC relationships, recoverable errors, a tiny local file and separate source files. Introductory macOS-only scope.

Learners familiar with the C Foundations pack and basic terminal use. Allow 4 to 6 hours.

Pack status: tested. Test details apply only to the included examples. Full language or format coverage remains future work.

Runtime and practice instructions

In a new owned practice directory, compile an exported example with /usr/bin/clang -x objective-c -std=c17 -fobjc-arc -fno-modules -Wall -Wextra -Werror "Example.m" -framework Foundation -o "Practice", then run ./Practice. Replace Example.m with the exact filename. For Objective-C 09 Main.m, also pass "Atlas minutes.m" and save "Atlas minutes.h" beside both files. The file example creates and retains Atlas practice note.txt; a second run intentionally refuses it. Use only the installed Apple toolchain with macOS Foundation. Compilation uses SDK 27.0 headers; execution uses system Foundation 6.9 (5027.0.69) on macOS 27.0.1 arm64. No iOS, GNUstep, other OS, Objective-C++, UI, concurrency or package-manager support is tested. The offline browser exports text and never compiles or executes these programs.

Configuration: Objective-C run instructions.txt
In a new owned practice directory, compile an exported example with /usr/bin/clang -x objective-c -std=c17 -fobjc-arc -fno-modules -Wall -Wextra -Werror "Example.m" -framework Foundation -o "Practice", then run ./Practice. Replace Example.m with the exact filename. For Objective-C 09 Main.m, also pass "Atlas minutes.m" and save "Atlas minutes.h" beside both files. The file example creates and retains Atlas practice note.txt; a second run intentionally refuses it. Use only the installed Apple toolchain with macOS Foundation. Compilation uses SDK 27.0 headers; execution uses system Foundation 6.9 (5027.0.69) on macOS 27.0.1 arm64. No iOS, GNUstep, other OS, Objective-C++, UI, concurrency or package-manager support is tested. The offline browser exports text and never compiles or executes these programs.

1. Build and run distinct stages

A .m source is compiled as Objective-C and linked with Foundation. This pack pins Apple Clang, ARC and a C17 base mode; C17 is not an Objective-C standard edition. Compiler acceptance does not prove correct behavior. Expected rejected fixtures are recorded separately and are never executed. The exported examples are trusted authored source, not a sandbox for arbitrary code.

2. Objects, messages and initialization

A class describes an interface and implementation. + marks class methods; - marks instance methods. Selector components and parameter order form the message name. Properties usually synthesize accessor methods and storage. An initializer calls its superclass and may return nil. Validate inputs before establishing invariants, and distinguish a nil Objective-C receiver from an invalid C pointer.

3. Strings, values and collections

Foundation provides NSString, NSNumber, NSArray and NSDictionary; these are framework types, not a second language. NSString length and NSRange offsets use UTF-16 units. Composed-sequence enumeration is different from counting bytes. Check NSNotFound and collection bounds. nil means absence; NSNull is an object representing explicit null. Sort dictionary keys when output order matters.

4. Copying and ownership

A strong relationship owns an object; weak observes without keeping it alive and becomes nil when the supported object is deallocated. A copy property invokes copying on assignment, which need not allocate a distinct object or deep-copy an object graph. ARC inserts ownership operations; cycles can still leak. Autorelease pools bound pending autoreleases and are not garbage collectors. nonatomic properties do not make concurrent mutation safe.

5. Protocols, categories and blocks

Protocols declare method contracts; adopting classes must supply required behavior. Class extensions can declare implementation details. Categories add methods but must avoid name collisions; this pack adds a prefixed method only to its own class. Blocks capture state. A block owned by an object can create a cycle if it strongly captures that object; the synchronous example uses a weak capture and a temporary strong local.

6. Errors and dynamic boundaries

Follow each API return-value contract before reading NSError. NSError outputs need not be cleared on success. Cocoa conventions treat exceptions as programming errors, not the ordinary invalid-input path. A JSON parser returns Foundation objects: validate their classes, required fields and application bounds separately. Lightweight generics and nullability annotations are compiler aids, not runtime schema validators.

7. Local files and source organization

Use a new owned practice directory. The file example retains a tiny UTF-8 file, refuses an existing path and requests a no-overwrite write. It is not a defense against an attacker controlling the directory. Export the local header and implementation beside the multi-file main, then compile both .m files. No module, package manager, GUI framework or network operation is needed.

8. What the evidence means

Normal compilation, execution output, boundary checks and expected compiler rejections are different evidence categories. These tests cover fixed inputs on one macOS arm64 compiler/SDK. They do not establish whole-language mastery, cross-platform compatibility, performance, arbitrary-code isolation or absence of every memory defect. Browser, PDF, accessibility and final Library release checks remain separate gates.

Quick reference

Source

.m / clang -x objective-c

Objective-C source mode; compile and link before running.

Ownership mode

-fobjc-arc

Enable automatic reference counting for Objective-C objects.

Classes

@interface / @implementation

Declare the interface and implement methods.

Messages

[receiver method:argument]

Send a selector with ordered arguments.

Methods

+ / -

Class versus instance methods.

Initialization

instancetype / init / nil

Initialize via the superclass; handle a nullable result.

Properties

nonatomic, copy / strong / weak

Choose semantics; nonatomic provides no synchronization.

Literals

@"text" / @20 / @[] / @{}

Create object strings, boxed numbers and collections.

Absence

nil / [NSNull null]

No object versus an explicit null object.

Text units

length / NSRange / NSNotFound

UTF-16 offsets and a checked failed-search marker.

Protocols

@protocol / id<Protocol>

A declared method contract; implement required behavior.

Categories

@interface Class (Category)

Add distinctly named methods; do not replace existing behavior.

Blocks

^{ ... } / __block

Capture behavior and explicitly mutable captured bindings.

Pools

@autoreleasepool

Bound pending autoreleases in this command-line program.

Errors

NSError ** / nullable result

Inspect the result before consulting the error output.

Boundary checks

isKindOfClass: / length limits

Validate dynamic values and application constraints explicitly.

Examples and exercises

Examples are shown as text. Export files and use the stated runtime or interpreter separately to practice. Module and multi-file examples require their companion files. C and C++ examples need the named compiler and standard mode. TypeScript also needs its exported configuration files and separate static checking before JavaScript execution. SQL files use the SQLite CLI with a fresh :memory: database; shell files name their interpreter and may retain new toy folders for inspection. Try exercises A, B and C before expanding their solutions.

Objective-C 01 - Objects and messages

The + method receives a class message; the - method receives an instance message. messageFor: requires a non-nil string. Messaging nil for this integer-valued length returns zero; passing a null C pointer to puts would not be safe. The print calls use only known non-nil UTF-8 strings.

Expected stdout:

Objective-C
Hello, Ada
Nil length: 0

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
@interface AtlasGreeting : NSObject
+ (NSString *)topic;
- (NSString *)messageFor:(NSString *)name;
@end
@implementation AtlasGreeting
+ (NSString *)topic { return @"Objective-C"; }
- (NSString *)messageFor:(NSString *)name {
    return [@"Hello, " stringByAppendingString:name];
}
@end
int main(void) {
    @autoreleasepool {
        AtlasGreeting *greeting = [AtlasGreeting new];
        puts([[AtlasGreeting topic] UTF8String]);
        puts([[greeting messageFor:@"Ada"] UTF8String]);
        NSString *absent = nil;
        printf("Nil length: %lu\n", (unsigned long)[absent length]);
    }
    return 0;
}
Objective-C 02 - Properties and copying

The synthesized copy setter stores a string copy; strong stores an owning reference to the same mutable object. copy does not promise a new address or a deep copy of arbitrary graphs. nonatomic does not provide synchronization. This single-threaded fixture initializes both properties before use.

Expected stdout:

Read
Read more
Same reference: yes

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
@interface AtlasNote : NSObject
@property (nonatomic, copy) NSString *title;
@property (nonatomic, strong) NSMutableString *shared;
@end
@implementation AtlasNote
@end
int main(void) {
    @autoreleasepool {
        NSMutableString *draft = [NSMutableString stringWithString:@"Read"];
        AtlasNote *note = [AtlasNote new];
        note.title = draft;
        note.shared = draft;
        [draft appendString:@" more"];
        puts([note.title UTF8String]);
        puts([note.shared UTF8String]);
        printf("Same reference: %s\n", note.shared == draft ? "yes" : "no");
    }
    return 0;
}
Objective-C 03 - UTF-16 and composed sequences

NSString length and NSRange offsets count UTF-16 code units, not bytes or displayed characters. Composed-sequence enumeration groups this authored combining accent with its letter. Segmentation can depend on the OS Unicode implementation; this fixture does not establish every script or emoji rule. Check NSNotFound before using a search range.

Expected stdout:

UTF-16 units: 5
UTF-8 bytes: 6
Composed sequences: 4
Search: absent

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
int main(void) {
    @autoreleasepool {
        NSString *text = @"Cafe\u0301";
        __block NSUInteger sequences = 0;
        [text enumerateSubstringsInRange:NSMakeRange(0, text.length)
            options:NSStringEnumerationByComposedCharacterSequences
            usingBlock:^(NSString *substring, NSRange range, NSRange enclosing, BOOL *stop) {
                (void)substring; (void)range; (void)enclosing; (void)stop;
                sequences += 1;
            }];
        printf("UTF-16 units: %lu\n", (unsigned long)text.length);
        printf("UTF-8 bytes: %lu\n", (unsigned long)[text lengthOfBytesUsingEncoding:NSUTF8StringEncoding]);
        printf("Composed sequences: %lu\n", (unsigned long)sequences);
        NSRange missing = [text rangeOfString:@"z"];
        puts(missing.location == NSNotFound ? "Search: absent" : "Search: found");
    }
    return 0;
}
Objective-C 04 - Collections and absence

Collections hold objects: NSNumber boxes these small integers and NSNull represents explicit null. nil is absence, not a collection element. Dictionary iteration has no report-order guarantee, so sort the ASCII keys. Lightweight generics aid compile-time checks; validate types at dynamic boundaries. The sum is safe only for these bounded authored values.

Expected stdout:

Total: 60
code: 40
read: 20
Explicit null: yes
Missing: yes
First: absent

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
int main(void) {
    @autoreleasepool {
        NSArray<NSNumber *> *minutes = @[@10, @20, @30];
        NSInteger total = 0;
        for (NSNumber *value in minutes) { total += value.integerValue; }
        printf("Total: %ld\n", (long)total);
        NSDictionary<NSString *, NSNumber *> *totals = @{@"read": @20, @"code": @40};
        for (NSString *key in [[totals allKeys] sortedArrayUsingSelector:@selector(compare:)]) {
            printf("%s: %ld\n", [key UTF8String], (long)[totals[key] integerValue]);
        }
        NSDictionary<NSString *, id> *row = @{@"note": [NSNull null]};
        printf("Explicit null: %s\n", row[@"note"] == [NSNull null] ? "yes" : "no");
        printf("Missing: %s\n", row[@"missing"] == nil ? "yes" : "no");
        NSArray *empty = @[];
        puts(empty.firstObject == nil ? "First: absent" : "First: present");
    }
    return 0;
}
Objective-C 05 - A protocol and a category

The protocol specifies a method contract; the class supplies the implementation. A class extension declares an implementation detail, not a security boundary. The category adds a prefixed method on this authored class. It adds no stored property and replaces no existing method. This initializer assumes its authored minutes input is valid; exercise A adds validation.

Expected stdout:

25 minutes
Session: 25 minutes

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
@protocol AtlasDescribing <NSObject>
- (NSString *)summary;
@end
@interface AtlasSession : NSObject <AtlasDescribing>
- (instancetype)initWithMinutes:(NSInteger)minutes;
@end
@interface AtlasSession ()
@property (nonatomic) NSInteger minutes;
@end
@implementation AtlasSession
- (instancetype)initWithMinutes:(NSInteger)minutes {
    self = [super init];
    if (self) { _minutes = minutes; }
    return self;
}
- (NSString *)summary {
    return [NSString stringWithFormat:@"%ld minutes", (long)self.minutes];
}
@end
@interface AtlasSession (AtlasLabel)
- (NSString *)atlas_label;
@end
@implementation AtlasSession (AtlasLabel)
- (NSString *)atlas_label { return [@"Session: " stringByAppendingString:[self summary]]; }
@end
int main(void) {
    @autoreleasepool {
        AtlasSession *session = [[AtlasSession alloc] initWithMinutes:25];
        id<AtlasDescribing> view = session;
        puts([[view summary] UTF8String]);
        puts([[session atlas_label] UTF8String]);
    }
    return 0;
}
Objective-C 06 - Weak ownership and a block

The counter owns its copied block, but that block captures only a weak reference back. A temporary strong local keeps the object alive during the synchronous call if it still exists. After the last owner and the inner pool are gone, the observer is nil. No intentional leaking cycle, asynchronous timing or manual release is demonstrated. ARC manages ownership; it is not a general leak or thread-safety guarantee.

Expected stdout:

Value: 2
Owner released: yes

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
@interface AtlasCounter : NSObject
@property (nonatomic) NSInteger value;
@property (nonatomic, copy) void (^tick)(void);
@end
@implementation AtlasCounter
@end
int main(void) {
    @autoreleasepool {
        __weak AtlasCounter *observer = nil;
        @autoreleasepool {
            AtlasCounter *counter = [AtlasCounter new];
            observer = counter;
            __weak AtlasCounter *weakCounter = counter;
            counter.tick = ^{
                AtlasCounter *current = weakCounter;
                if (current != nil) { current.value += 1; }
            };
            counter.tick();
            counter.tick();
            printf("Value: %ld\n", (long)counter.value);
            counter = nil;
        }
        printf("Owner released: %s\n", observer == nil ? "yes" : "no");
    }
    return 0;
}
Objective-C 07 - Parsing is not validation

A successful parse produces Foundation values, not a validated record. This wrapper accepts at most 1024 bytes, a dictionary root and a title of 1 to 40 UTF-16 units. It allows extra keys and does not enforce a general JSON schema or detect duplicate keys. Check the returned title first; the NSError output is only meaningful on failure and is not cleared on success. Nullability annotations document intent but do not perform runtime checks.

Expected stdout:

Title: Read
Rejected with NSError
Rejected with NSError

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
NS_ASSUME_NONNULL_BEGIN
static NSString * _Nullable AtlasTitleFromData(NSData * _Nullable data,
    NSError * _Nullable __autoreleasing * _Nullable error) {
    if (data == nil || data.length > 1024) {
        if (error != NULL) { *error = [NSError errorWithDomain:@"AtlasInput" code:1 userInfo:nil]; }
        return nil;
    }
    NSError *parseError = nil;
    id root = [NSJSONSerialization JSONObjectWithData:data options:0 error:&parseError];
    if (root == nil) {
        if (error != NULL) { *error = parseError; }
        return nil;
    }
    if (![root isKindOfClass:[NSDictionary class]]) {
        if (error != NULL) { *error = [NSError errorWithDomain:@"AtlasInput" code:2 userInfo:nil]; }
        return nil;
    }
    id title = [(NSDictionary *)root objectForKey:@"title"];
    if (![title isKindOfClass:[NSString class]] || [title length] == 0 || [title length] > 40) {
        if (error != NULL) { *error = [NSError errorWithDomain:@"AtlasInput" code:3 userInfo:nil]; }
        return nil;
    }
    return title;
}
NS_ASSUME_NONNULL_END
int main(void) {
    @autoreleasepool {
        for (NSString *text in @[@"{\"title\":\"Read\"}", @"{", @"[]"]) {
            NSError *error = nil;
            NSString *title = AtlasTitleFromData([text dataUsingEncoding:NSUTF8StringEncoding], &error);
            if (title != nil) { printf("Title: %s\n", [title UTF8String]); }
            else if (error != nil) { puts("Rejected with NSError"); }
            else { return 2; }
        }
    }
    return 0;
}
Objective-C 08 - A local UTF-8 round trip

Run only in a new owned practice directory. The fixed filename is retained, never removed by the program; a second run intentionally refuses it. The no-overwrite write option protects against an intervening existing file, but this is not a hostile-filesystem sandbox. The example performs explicit UTF-8 decoding and checks each API failure return. Disk-full and permission failures are handled but are not injected by the harness.

Expected stdout:

Round trip: equal

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
int main(void) {
    @autoreleasepool {
        NSString *path = @"Atlas practice note.txt";
        NSFileManager *files = [NSFileManager defaultManager];
        if ([files fileExistsAtPath:path]) {
            fputs("Refusing an existing practice file\n", stderr);
            return 3;
        }
        NSError *error = nil;
        NSData *bytes = [@"Read for 20 minutes\n" dataUsingEncoding:NSUTF8StringEncoding];
        if (![bytes writeToFile:path options:NSDataWritingWithoutOverwriting error:&error]) {
            fputs("Write failed\n", stderr);
            return 4;
        }
        NSString *text = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:&error];
        if (text == nil) { fputs("Read failed\n", stderr); return 5; }
        puts([text isEqualToString:@"Read for 20 minutes\n"] ? "Round trip: equal" : "Round trip: different");
    }
    return 0;
}
Objective-C 09 - A local header and implementation

Export all three files and compile both .m files together. The header declares a nullable result; the implementation accepts only 0 through 120. This is a C-linkage function using Objective-C objects in one linked executable, not a module, framework or package.

Expected stdout:

Companion: 40

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import "Atlas minutes.h"
#include <stdio.h>
int main(void) {
    @autoreleasepool {
        NSNumber *result = AtlasDoubleMinutes(20);
        if (result == nil) { return 2; }
        printf("Companion: %ld\n", (long)result.integerValue);
    }
    return 0;
}

Companion: Atlas minutes.h

#ifndef ATLAS_MINUTES_H
#define ATLAS_MINUTES_H
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
NSNumber * _Nullable AtlasDoubleMinutes(NSInteger value);
NS_ASSUME_NONNULL_END
#endif

Companion: Atlas minutes.m

#import "Atlas minutes.h"
NSNumber *AtlasDoubleMinutes(NSInteger value) {
    if (value < 0 || value > 120) { return nil; }
    return @(value * 2);
}
Objective-C exercise A - A validated initializer

Try it first: Build a record with a copied nonempty title of at most 40 UTF-16 units and minutes in 0 through 120. Reject invalid initialization with nil and prevent ordinary init/new calls.

The initializer rejects nil, an empty or overlong title, and minutes outside 0 through 120. The title limit uses UTF-16 units and the setter-free public API preserves this toy record after initialization. init/new are unavailable at compile time; this is an API contract, not protection against runtime reflection or hostile subclassing.

Expected stdout:

Read: 20
Empty title: rejected

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
NS_ASSUME_NONNULL_BEGIN
@interface AtlasRecord : NSObject
@property (nonatomic, copy, readonly) NSString *title;
@property (nonatomic, readonly) NSInteger minutes;
- (nullable instancetype)initWithTitle:(nullable NSString *)title minutes:(NSInteger)minutes;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
@implementation AtlasRecord
- (nullable instancetype)initWithTitle:(nullable NSString *)title minutes:(NSInteger)minutes {
    if (title == nil || title.length == 0 || title.length > 40 || minutes < 0 || minutes > 120) {
        return nil;
    }
    self = [super init];
    if (self) { _title = [title copy]; _minutes = minutes; }
    return self;
}
@end
NS_ASSUME_NONNULL_END
int main(void) {
    @autoreleasepool {
        NSMutableString *title = [NSMutableString stringWithString:@"Read"];
        AtlasRecord *record = [[AtlasRecord alloc] initWithTitle:title minutes:20];
        if (record == nil) { return 2; }
        [title appendString:@" more"];
        printf("%s: %ld\n", [record.title UTF8String], (long)record.minutes);
        AtlasRecord *invalid = [[AtlasRecord alloc] initWithTitle:@"" minutes:20];
        puts(invalid == nil ? "Empty title: rejected" : "Unexpected acceptance");
    }
    return 0;
}
Objective-C exercise B - A stable report

Try it first: Format the trusted coding/reading totals in sorted key order, one line per key. Return an empty string for an empty dictionary.

This function accepts trusted dictionaries of short ASCII string keys and small integer NSNumber values. It does not validate a dynamic JSON boundary or arbitrary numeric ranges. Sorting keys produces stable output; an empty dictionary produces an empty string.

Expected stdout:

code: 40
read: 20
Empty report length: 0

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
static NSString *AtlasReport(NSDictionary<NSString *, NSNumber *> *totals) {
    NSMutableArray<NSString *> *lines = [NSMutableArray array];
    for (NSString *key in [[totals allKeys] sortedArrayUsingSelector:@selector(compare:)]) {
        [lines addObject:[NSString stringWithFormat:@"%@: %ld", key, (long)[totals[key] integerValue]]];
    }
    return [lines componentsJoinedByString:@"\n"];
}
int main(void) {
    @autoreleasepool {
        NSDictionary<NSString *, NSNumber *> *totals = @{@"read": @20, @"code": @40};
        puts([AtlasReport(totals) UTF8String]);
        printf("Empty report length: %lu\n", (unsigned long)AtlasReport(@{}).length);
    }
    return 0;
}
Objective-C exercise C - An explicit error contract

Try it first: Implement a small ASCII-only minutes parser with a nullable NSNumber result and optional NSError output. Accept leading zeros but reject signs, whitespace, non-ASCII digits, empty input and values above 120.

The parser accepts one to three ASCII digits with value 0 through 120, including leading zeros. The length bound keeps intermediate arithmetic small. A successful return does not promise to clear an existing NSError output. Eight comparisons execute in main; their unexpected-mismatch branch is not deliberately executed.

Expected stdout:

Cases: 8 passed

Test record: passed; Apple clang version 21.0.0 (clang-2100.3.34.2); ARC; C17 base; macOS SDK 27.0 headers; system Foundation 6.9 (5027.0.69); 2026-10-26. macOS-27.0.1-arm64-arm-64bit

#import <Foundation/Foundation.h>
#include <stdio.h>
NS_ASSUME_NONNULL_BEGIN
static NSNumber * _Nullable AtlasParseMinutes(NSString * _Nullable text,
    NSError * _Nullable __autoreleasing * _Nullable error) {
    if (text != nil && text.length >= 1 && text.length <= 3) {
        NSInteger value = 0;
        BOOL valid = YES;
        for (NSUInteger i = 0; i < text.length; i += 1) {
            unichar unit = [text characterAtIndex:i];
            if (unit < '0' || unit > '9') { valid = NO; break; }
            value = value * 10 + (unit - '0');
        }
        if (valid && value <= 120) { return @(value); }
    }
    if (error != NULL) { *error = [NSError errorWithDomain:@"AtlasMinutes" code:1 userInfo:nil]; }
    return nil;
}
NS_ASSUME_NONNULL_END
int main(void) {
    @autoreleasepool {
        NSArray<NSString *> *inputs = @[@"0", @"20", @"120", @"121", @"+2", @"", @" 2", @"002"];
        NSArray *expected = @[@0, @20, @120, [NSNull null], [NSNull null], [NSNull null], [NSNull null], @2];
        NSUInteger passed = 0;
        for (NSUInteger i = 0; i < inputs.count; i += 1) {
            NSError *error = nil;
            NSNumber *actual = AtlasParseMinutes(inputs[i], &error);
            BOOL accepted = expected[i] != [NSNull null];
            BOOL correct = accepted ? [actual isEqual:expected[i]] : (actual == nil && error != nil);
            if (!correct) { fputs("Unexpected test result\n", stderr); return 2; }
            passed += 1;
        }
        printf("Cases: %lu passed\n", (unsigned long)passed);
    }
    return 0;
}

Expected compiler and warning-policy rejections

Four authored fixtures were rejected under the recorded Apple Clang and ARC configuration. Two are warnings promoted to errors by -Werror; independent syntax-only controls accepted those two without -Werror. No rejection fixture was executed. These results are separate from the twelve accepted runtime programs. Diagnostic wording is implementation-specific.

Expected rejection: Objective-C 01 - Objects and messages

Expected rejection under this pack's compiler configuration; fixture not executed. Observed diagnostic category on the stated compiler: no visible @interface.

Classification: unknown method rejected by this compiler and ARC configuration

#import <Foundation/Foundation.h>
int main(void) { @autoreleasepool { (void)[@"x" atlasMissingMethod]; } }
Expected rejection: Objective-C 05 - A protocol and a category

Expected rejection under this pack's compiler configuration; fixture not executed. Observed diagnostic category on the stated compiler: -Wprotocol.

Classification: missing required protocol implementation: warning promoted by -Werror

#import <Foundation/Foundation.h>
@protocol Required <NSObject>
- (NSString *)summary;
@end
@interface Missing : NSObject <Required>
@end
@implementation Missing
@end
Expected rejection: Objective-C 06 - Weak ownership and a block

Expected rejection under this pack's compiler configuration; fixture not executed. Observed diagnostic category on the stated compiler: forbids explicit message send.

Classification: explicit release forbidden with ARC enabled

#import <Foundation/Foundation.h>
int main(void) { @autoreleasepool { NSObject *value = [NSObject new]; [value release]; } }
Expected rejection: Objective-C exercise C - An explicit error contract

Expected rejection under this pack's compiler configuration; fixture not executed. Observed diagnostic category on the stated compiler: -Wobjc-literal-conversion.

Classification: lightweight generic mismatch: warning promoted by -Werror

#import <Foundation/Foundation.h>
int main(void) { @autoreleasepool { NSArray<NSString *> *names = @[@1]; (void)names; } }

Prompt workbench

Build, edit and export a prompt. It stays on this device until you choose to copy it elsewhere. No AI service is called.

Portable presets

Save up to 20 presets. Import accepts only this version's bounded JSON schema (64 KiB maximum), replaces the session collection and never runs code. Export before importing if you want to preserve the current set.

Optional browser storage

Nothing is stored automatically. localStorage for local files varies by browser, may be blocked or cleared, and is not encrypted. Do not store secrets. Export JSON for a durable copy.

Coverage and next steps

All current editions are generated from one versioned JSON model. The shared renderer creates each individual pack and the combined edition from the same pack records. Planned records carry empty source lists and null verification dates rather than invented evidence. 'Tested' applies to a pack's recorded examples, not an entire language. Frameworks and runtimes are overlays. A dialect is counted as a named scope, not as a claim of an independent language.

  1. planned: Named scope only; source and runtime research pending.
  2. sourced: Relevant official sources verified.
  3. drafted: Original pack authored; checks pending.
  4. tested: Documented examples passed the recorded tests.
  5. reviewed: Functional, accessibility and content review completed for defined scope.
  6. released: Versioned downloadable edition published to the agreed local or Library destination.

Further packs follow actual need. All current packs retain introductory scope; 257 registry entries remain planned. Before each pack: verify official sources, choose versions and operating systems, author original examples, test expected outputs and review accessibility and risk.

Intended future homes

Local and downloadable. Website publication is outside this authoring release. Library save identities and versions are recorded in separate delivery receipts.

Limits: one browser and operating system were tested. An independent agent audited the content. No screen-reader session, formal accessibility certification or outside human review is claimed. Planned entries still need official-source research. No Treasure workbench artifact was present in this isolated workspace; no private corpus was used.

Official sources checked

Original explanations and examples; no documentation mirror. URLs are plain text so this offline edition does not open remote pages by itself.

GNU web manual retrieval timed out and the Open Group full shell specification returned HTTP 403. Shell explanations were verified against installed official manuals, accessible Zsh documentation and actual runtime behavior. POSIX-style denotes the deliberately conservative syntax subset, not certification or a complete standards audit. Zsh web documentation describes 5.9.2; execution used installed 5.9. TypeScript 6.0.3 was located in an existing installed package and is invoked directly; no package manager is used. Its static checks and Node 24.18.0 runtime evidence are separate. Data examples use unsupported CPython 3.9.6. Python 3.9 online documentation describes 3.9.25. TOML uses installed pip-vendored Tomli 1.0.3, a private environment-specific API. The upstream tagged Tomli source page could not be retrieved; version is local metadata, behavior is actual execution, and syntax claims use the TOML 1.0 specification. Python 3.11 tomllib documentation is a compatibility reference only; that branch was not executed. No TOML 1.1, JSON Schema, XSD, hostile XML safety or general standards-conformance claim is made. C17 N2176 and C++20 N4861 PDF retrieval failed; the C11 N1570 committee draft was accessible for core semantics unchanged in this exercised C17 subset. C++ living draft and Core Guidelines references support only the stated concepts; later APIs shown by current draft pages are excluded. Actual Apple Clang 21.0.0 C17/C++20 probes passed and reported libc++ 220106. Upstream status pages do not guarantee Apple compiler completeness. Sanitizer and runtime evidence applies only to these executed paths. Ruby API references are version 2.6.0 documentation for the 2.6 series; actual execution is 2.6.10p210, which is end of life. Perl references are pinned to 5.34.1, the actual installed interpreter. Core module versions are recorded in runtime evidence; no packages were downloaded. No Ruby 3 or newer Perl compatibility is claimed. The Ruby tmpdir HTML URL and Perl perlrun HTML page could not be retrieved; their official repository files at Ruby v2_6_10 and Perl v5.34.1 were read instead. Swift web pages required JavaScript; the official Swift book repository source was accessible. Current book content is limited here to exercised Swift 6 core features. GNU website manual requests timed out; the upstream 3.81 manual source mirror and installed make(1) were used. Swift compile/run and Make dependency tests apply only to this installed macOS arm64 environment; no new toolchain was installed. For awk and sed, POSIX Issue 8 web requests returned HTTP 403. Installed awk(1), sed(1) and re_format(7), plus accessible maintainer documentation, support the exercised subset. awk reports 20200816; the current upstream manual includes later --csv support that is explicitly excluded. sed is identified by macOS 27.0.1 and binary SHA-256, not an invented version. All new stream tests use LC_ALL=C and authored ASCII input; no GNU-tool or Unicode-grapheme compatibility is claimed. jq is the Apple jq-1.7.1-apple build, verified against the upstream 1.7 manual and installed jq(1). xsltproc reports libxslt 1.1.35 and libxml2 2.9.13. The accessible XSLT and XPath 1.0 specifications support only this introductory subset; later language versions are excluded. Current libxslt command documentation is checked against actual installed invocation. No DTD declaration, custom/external entity, document(), import/include, extension or untrusted source is exercised. The independent XPath registry entry stays planned. Predefined XML escapes and numeric character references are used. Installed --stringparam rejects values containing both quote styles. Tcl uses installed 8.5.9; accessible official web references are 8.5.19 series documentation, with differences bounded by actual examples. The proc web page timed out, so its installed manual was read. Expect 5.45 embeds Tcl 8.5.9; the installed official manual supports its options and process semantics. The historical Expect project points to a newer successor; no successor or modern Tcl feature is claimed. Only authored workspace fixtures are spawned; no network, sign-ins, secrets or live application control. Objective-C is pinned to Apple Clang 21.0.0 with ARC, C17 base syntax, macOS SDK 27.0 headers, system Foundation 6.9 (5027.0.69) and macOS 27.0.1 arm64. Apple language and string guides are archived; dated UI/network recipes and broad platform recommendations are excluded. Upstream Clang documents are checked against the locally exercised subset. Current JSONSerialization web content required JavaScript and its linked Markdown request failed; installed SDK NSJSONSerialization.h and NSData.h declarations/comments plus execution support the narrow parsing, error and no-overwrite claims. No JSON-schema, iOS, GNUstep, cross-platform, Objective-C++ or complete memory-safety claim is made.

  1. MDN: Basic HTML syntax
    https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Structuring_content/Basic_HTML_syntax
    Checked 2026-10-25. Scope: Elements, attributes, nesting and document structure.
  2. WHATWG HTML Living Standard
    https://html.spec.whatwg.org/multipage/
    Checked 2026-10-25. Scope: HTML semantics and document structure; living standard.
  3. MDN: Getting started with CSS
    https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Getting_started
    Checked 2026-10-25. Scope: Selectors, declarations and classes.
  4. MDN: Introduction to the CSS box model
    https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Box_model/Introduction
    Checked 2026-10-25. Scope: Content, padding, border and margin.
  5. W3C: CSS Display Module Level 3
    https://www.w3.org/TR/css-display-3/
    Checked 2026-10-25. Scope: Block and inline layout; candidate recommendation draft, not a browser support promise.
  6. MDN: JavaScript functions
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions
    Checked 2026-10-25. Scope: Parameters, return values and function scope.
  7. MDN: Node.textContent
    https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent
    Checked 2026-10-25. Scope: Plain text DOM updates rather than markup insertion.
  8. MDN: addEventListener
    https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
    Checked 2026-10-25. Scope: Registering event handlers.
  9. MDN: label element
    https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/label
    Checked 2026-10-25. Scope: Explicit form label association.
  10. MDN: Window.localStorage
    https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
    Checked 2026-10-25. Scope: file: persistence is not guaranteed and access can throw.
  11. W3C: WCAG 2.2
    https://www.w3.org/TR/WCAG22/
    Checked 2026-10-25. Scope: Keyboard operation, labels, visible focus and text contrast. No conformance certification claimed.
  12. MDN: Basic concepts of grid layout
    https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Grid_layout/Basic_concepts
    Checked 2026-10-25. Scope: Grid tracks, repeat(3, 1fr) and gap.
  13. MDN: Using media queries
    https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Using
    Checked 2026-10-25. Scope: Inclusive min-width viewport queries.
  14. MDN: Array.prototype.filter
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter
    Checked 2026-10-25. Scope: Selecting a matching subset without changing the source array.
  15. MDN: Array.prototype.reduce
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce
    Checked 2026-10-25. Scope: Accumulation and an explicit initial value.
  16. MDN: Number.isFinite
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite
    Checked 2026-10-25. Scope: Finite-number checks without coercion.
  17. Python 3.9 tutorial: Introduction
    https://docs.python.org/3.9/tutorial/introduction.html
    Checked 2026-10-25. Scope: Numbers, strings, lists and basic output.
  18. Python 3.9 tutorial: Control flow
    https://docs.python.org/3.9/tutorial/controlflow.html
    Checked 2026-10-25. Scope: if, for, range, function definitions and return values.
  19. Python 3.9 tutorial: Data structures
    https://docs.python.org/3.9/tutorial/datastructures.html
    Checked 2026-10-25. Scope: Lists, tuples, dictionaries, sets and comprehensions.
  20. Python 3.9 tutorial: Input and output
    https://docs.python.org/3.9/tutorial/inputoutput.html
    Checked 2026-10-25. Scope: Explicit text encoding, context managers and formatted output.
  21. Python 3.9 tutorial: Errors and exceptions
    https://docs.python.org/3.9/tutorial/errors.html
    Checked 2026-10-25. Scope: Specific exception handling and cleanup.
  22. Python 3.9 tutorial: Modules
    https://docs.python.org/3.9/tutorial/modules.html
    Checked 2026-10-25. Scope: Module imports and the __name__ main guard.
  23. Python 3.9 library: unittest
    https://docs.python.org/3.9/library/unittest.html
    Checked 2026-10-25. Scope: TestCase assertions and test runners.
  24. Python 3.9 library: tempfile
    https://docs.python.org/3.9/library/tempfile.html
    Checked 2026-10-25. Scope: TemporaryDirectory lifecycle and cleanup.
  25. Python 3.9 library: pathlib
    https://docs.python.org/3.9/library/pathlib.html
    Checked 2026-10-25. Scope: Path composition and UTF-8 text file operations.
  26. Python 3.9 library: json
    https://docs.python.org/3.9/library/json.html
    Checked 2026-10-25. Scope: JSON encoding/decoding and bounded input cautions.
  27. Python Developer Guide: version status
    https://devguide.python.org/versions/
    Checked 2026-10-25. Scope: Python 3.9 is no longer supported; the installed 3.9.6 runtime is a recorded local teaching environment, not a deployment recommendation.
  28. Python 3.9 library: Built-in types
    https://docs.python.org/3.9/library/stdtypes.html
    Checked 2026-10-25. Scope: Boolean and integer relationship, dictionary insertion order and string casefold.
  29. SQLite SELECT
    https://www.sqlite.org/lang_select.html
    Checked 2026-10-25. Scope: Filtering, ordering and explicit joins.
  30. SQLite CREATE TABLE
    https://www.sqlite.org/lang_createtable.html
    Checked 2026-10-25. Scope: Keys, NOT NULL and CHECK constraints.
  31. SQLite transactions
    https://www.sqlite.org/lang_transaction.html
    Checked 2026-10-25. Scope: BEGIN, COMMIT, ROLLBACK and single-writer scope.
  32. SQLite expressions
    https://www.sqlite.org/lang_expr.html
    Checked 2026-10-25. Scope: NULL, CASE, comparisons and named parameters.
  33. SQLite command-line shell
    https://www.sqlite.org/cli.html
    Checked 2026-10-25. Scope: In-memory execution, safe mode, dot commands and the expression-evaluating .parameter command.
  34. SQLite foreign keys
    https://www.sqlite.org/foreignkeys.html
    Checked 2026-10-25. Scope: Enable enforcement per connection before a transaction.
  35. SQLite datatypes
    https://www.sqlite.org/datatype3.html
    Checked 2026-10-25. Scope: Dynamic typing and affinity; no cross-dialect type guarantee.
  36. SQLite quirks
    https://www.sqlite.org/quirks.html
    Checked 2026-10-25. Scope: Differences from other SQL implementations.
  37. SQLite aggregate functions
    https://www.sqlite.org/lang_aggfunc.html
    Checked 2026-10-25. Scope: COUNT, SUM and empty or NULL input.
  38. SQLite WITH clause
    https://www.sqlite.org/lang_with.html
    Checked 2026-10-25. Scope: Ordinary statement-scoped common table expressions.
  39. SQLite value binding API
    https://www.sqlite.org/c3ref/bind_blob.html
    Checked 2026-10-25. Scope: Bind literal values separately from statement structure; API discussion only, not an executed C example.
  40. Installed Bash 3.2 manual
    man:bash(1)
    Checked 2026-10-25. Scope: Quoting, positional parameters, loops, functions, arrays, redirections and pipeline status. Read from /usr/share/man/man1/bash.1.
  41. Installed macOS sh manual
    man:sh(1)
    Checked 2026-10-25. Scope: macOS sh selects an implementation; this host selects /bin/bash 3.2.57.
  42. Installed macOS mktemp manual
    man:mktemp(1)
    Checked 2026-10-25. Scope: Create a unique directory using a template; platform utility, not a portable POSIX utility claim.
  43. Zsh shell grammar
    https://zsh.sourceforge.io/Doc/Release/Shell-Grammar.html
    Checked 2026-10-25. Scope: Pipelines, conditionals, quoting and exit status.
  44. Zsh parameters
    https://zsh.sourceforge.io/Doc/Release/Parameters.html
    Checked 2026-10-25. Scope: Native array indexing and parameter behavior.
  45. Zsh options
    https://zsh.sourceforge.io/Doc/Release/Options.html
    Checked 2026-10-25. Scope: Native options, SH_WORD_SPLIT and pipeline behavior.
  46. TypeScript: The basics
    https://www.typescriptlang.org/docs/handbook/2/basic-types.html
    Checked 2026-10-25. Scope: Static checks, erased types and JavaScript output.
  47. TypeScript: Everyday types
    https://www.typescriptlang.org/docs/handbook/2/everyday-types.html
    Checked 2026-10-25. Scope: Primitive, union and object types.
  48. TypeScript: Narrowing
    https://www.typescriptlang.org/docs/handbook/2/narrowing.html
    Checked 2026-10-25. Scope: Guards, discriminators and never.
  49. TypeScript: Functions
    https://www.typescriptlang.org/docs/handbook/2/functions.html
    Checked 2026-10-25. Scope: Function signatures and unknown.
  50. TypeScript: Object types
    https://www.typescriptlang.org/docs/handbook/2/objects.html
    Checked 2026-10-25. Scope: Optional and readonly fields.
  51. TypeScript: Generics
    https://www.typescriptlang.org/docs/handbook/2/generics.html
    Checked 2026-10-25. Scope: Relationships between types.
  52. TypeScript: strict
    https://www.typescriptlang.org/tsconfig/strict.html
    Checked 2026-10-25. Scope: Strict checking group.
  53. TypeScript: noEmitOnError
    https://www.typescriptlang.org/tsconfig/noEmitOnError.html
    Checked 2026-10-25. Scope: Suppress output on errors.
  54. TypeScript: noUncheckedIndexedAccess
    https://www.typescriptlang.org/tsconfig/noUncheckedIndexedAccess.html
    Checked 2026-10-25. Scope: Unchecked indices include undefined.
  55. TypeScript: exactOptionalPropertyTypes
    https://www.typescriptlang.org/tsconfig/exactOptionalPropertyTypes.html
    Checked 2026-10-25. Scope: Absent versus undefined fields.
  56. TypeScript: Module reference
    https://www.typescriptlang.org/docs/handbook/modules/reference.html
    Checked 2026-10-25. Scope: Node16 and extension resolution.
  57. IETF RFC 8259: JSON
    https://www.rfc-editor.org/rfc/rfc8259
    Checked 2026-10-25. Scope: JSON syntax and interoperability.
  58. Python 3.9: json
    https://docs.python.org/3.9/library/json.html
    Checked 2026-10-25. Scope: Parser defaults, hooks and serializer.
  59. IETF RFC 4180: CSV
    https://www.rfc-editor.org/rfc/rfc4180
    Checked 2026-10-25. Scope: Common CSV form; informational RFC, not all dialects.
  60. Python 3.9: csv
    https://docs.python.org/3.9/library/csv.html
    Checked 2026-10-25. Scope: Dialects, reader/writer and newline handling.
  61. W3C XML 1.0 fifth edition
    https://www.w3.org/TR/xml/
    Checked 2026-10-25. Scope: Well-formed XML and escaping.
  62. Python 3.9: ElementTree
    https://docs.python.org/3.9/library/xml.etree.elementtree.html
    Checked 2026-10-25. Scope: Tree construction, namespaces and parsing.
  63. Python 3.9: XML vulnerabilities
    https://docs.python.org/3.9/library/xml.html#xml-vulnerabilities
    Checked 2026-10-25. Scope: Untrusted XML boundary.
  64. TOML 1.0.0 specification
    https://toml.io/en/v1.0.0
    Checked 2026-10-25. Scope: TOML 1.0 syntax and typed values.
  65. Python 3.11: tomllib
    https://docs.python.org/3.11/library/tomllib.html
    Checked 2026-10-25. Scope: Available since 3.11; documentation only, not installed execution evidence.
  66. WG14 N1570 C11 committee draft
    https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
    Checked 2026-10-25. Scope: Core objects, arrays, functions, storage duration, formatted output, allocation and conversion semantics used in the C17 subset; not a C17 draft or full-conformance claim.
  67. Clang compiler user manual
    https://clang.llvm.org/docs/UsersManual.html
    Checked 2026-10-25. Scope: Compiler driver, standard modes and diagnostics; upstream documentation is not an Apple feature guarantee.
  68. Clang C implementation status
    https://clang.llvm.org/c_status.html
    Checked 2026-10-25. Scope: C mode support and known limits; actual examples pin Apple Clang C17.
  69. Clang C++ implementation status
    https://clang.llvm.org/cxx_status.html
    Checked 2026-10-25. Scope: C++20 mode and partial feature coverage; actual subset tested locally.
  70. libc++ C++20 implementation status
    https://libcxx.llvm.org/Status/Cxx20.html
    Checked 2026-10-25. Scope: Library feature status; Apple-shipped version verified locally.
  71. C++ Core Guidelines
    https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
    Checked 2026-10-25. Scope: Ownership, lifetimes and resource management guidance, not normative standard text.
  72. C++ working draft: object lifetime
    https://eel.is/c++draft/basic.life
    Checked 2026-10-25. Scope: Living working draft; lifetime concepts only, not a C++20 publication.
  73. C++ working draft: unique ownership
    https://eel.is/c++draft/unique.ptr
    Checked 2026-10-25. Scope: Living draft; elementary unique_ptr ownership and move semantics, excluding later additions.
  74. C++ working draft: span
    https://eel.is/c++draft/views.span
    Checked 2026-10-25. Scope: Living draft; borrowing and length concepts; later span APIs excluded from C++20 exercises.
  75. C++ working draft: optional
    https://eel.is/c++draft/optional
    Checked 2026-10-25. Scope: Living draft; engaged value and absence only; later APIs excluded.
  76. Clang AddressSanitizer
    https://clang.llvm.org/docs/AddressSanitizer.html
    Checked 2026-10-25. Scope: Instrumented checking of some memory errors on executed paths; not safety proof.
  77. Clang UndefinedBehaviorSanitizer
    https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
    Checked 2026-10-25. Scope: Checks for selected undefined behavior; coverage is incomplete.
  78. C++ working draft: from_chars
    https://eel.is/c++draft/charconv.from.chars
    Checked 2026-10-25. Scope: Living draft; integer error code, end-pointer and no-throw concepts available in the exercised C++20 subset. Later constexpr additions are not used.
  79. Ruby 2.6.10 release and end of life
    https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-6-10-released/
    Checked 2026-10-25. Scope: Installed 2.6.10 is end of life; offline teaching only.
  80. Ruby 2.6 control expressions
    https://docs.ruby-lang.org/en/2.6.0/syntax/control_expressions_rdoc.html
    Checked 2026-10-25. Scope: Truth values, branches, loops and blocks.
  81. Ruby 2.6 methods
    https://docs.ruby-lang.org/en/2.6.0/syntax/methods_rdoc.html
    Checked 2026-10-25. Scope: Method parameters and return semantics.
  82. Ruby 2.6 Kernel
    https://docs.ruby-lang.org/en/2.6.0/Kernel.html
    Checked 2026-10-25. Scope: Integer conversion, exceptions, require_relative and Kernel.open process boundary.
  83. Ruby 2.6 Array
    https://docs.ruby-lang.org/en/2.6.0/Array.html
    Checked 2026-10-25. Scope: Array iteration and shallow collection copying.
  84. Ruby 2.6 Hash
    https://docs.ruby-lang.org/en/2.6.0/Hash.html
    Checked 2026-10-25. Scope: Keys, fetch and shared defaults.
  85. Ruby 2.6 String
    https://docs.ruby-lang.org/en/2.6.0/String.html
    Checked 2026-10-25. Scope: Mutation, character and byte lengths.
  86. Ruby 2.6 IO
    https://docs.ruby-lang.org/en/2.6.0/IO.html
    Checked 2026-10-25. Scope: Block closing and explicit encoding.
  87. Ruby 2.6.10 tmpdir source documentation
    https://raw.githubusercontent.com/ruby/ruby/v2_6_10/lib/tmpdir.rb
    Checked 2026-10-25. Scope: New temporary directory and block-scoped cleanup.
  88. Ruby 2.6 JSON
    https://docs.ruby-lang.org/en/2.6.0/JSON.html
    Checked 2026-10-25. Scope: Serialization, parsing and object-additions boundary.
  89. Ruby 2.6 modules and classes
    https://docs.ruby-lang.org/en/2.6.0/syntax/modules_and_classes_rdoc.html
    Checked 2026-10-25. Scope: Namespaces and singleton methods.
  90. Perl 5.34.1 introduction
    https://perldoc.perl.org/5.34.1/perlintro
    Checked 2026-10-25. Scope: Scalar/list context, truth, lexical variables and control flow.
  91. Perl 5.34.1 subroutines
    https://perldoc.perl.org/5.34.1/perlsub
    Checked 2026-10-25. Scope: Argument array and explicit returns.
  92. Perl 5.34.1 references
    https://perldoc.perl.org/5.34.1/perlref
    Checked 2026-10-25. Scope: Nested arrays, references and aliasing.
  93. Perl 5.34.1 regular expressions
    https://perldoc.perl.org/5.34.1/perlre
    Checked 2026-10-25. Scope: Whole-string anchors and literal quoting.
  94. Perl 5.34.1 open
    https://perldoc.perl.org/5.34.1/functions/open
    Checked 2026-10-25. Scope: Three-argument open, lexical handles and encoding layers.
  95. Perl 5.34.1 File::Temp
    https://perldoc.perl.org/5.34.1/File::Temp
    Checked 2026-10-25. Scope: Unique toy directory and normal-exit cleanup.
  96. Perl 5.34.1 JSON::PP
    https://perldoc.perl.org/5.34.1/JSON::PP
    Checked 2026-10-25. Scope: Canonical encoding, bounded parser and scalar representation limits.
  97. Perl 5.34.1 modules
    https://perldoc.perl.org/5.34.1/perlmod
    Checked 2026-10-25. Scope: Package namespace and module loading.
  98. Perl 5.34.1 invocation
    https://raw.githubusercontent.com/Perl/perl5/v5.34.1/pod/perlrun.pod
    Checked 2026-10-25. Scope: Syntax checking may run compile-time code; not an arbitrary-code sandbox.
  99. Perl 5.34.1 Test::More
    https://perldoc.perl.org/5.34.1/Test::More
    Checked 2026-10-25. Scope: Named executed tests and TAP plan.
  100. Ruby 2.6 Encoding
    https://docs.ruby-lang.org/en/2.6.0/Encoding.html
    Checked 2026-10-25. Scope: ASCII-compatible encoding guard; valid encoding is separate from application syntax.
  101. Swift book: The Basics
    https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/TheBasics.md
    Checked 2026-10-25. Scope: Types, constants and optionals.
  102. Swift book: Collection Types
    https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/CollectionTypes.md
    Checked 2026-10-25. Scope: Array, set and dictionary semantics.
  103. Swift book: Structures and Classes
    https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/ClassesAndStructures.md
    Checked 2026-10-25. Scope: Value versus reference semantics.
  104. Swift book: Functions
    https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/Functions.md
    Checked 2026-10-25. Scope: Parameters, labels, return values and bounds-oriented function design.
  105. Swift book: Strings and Characters
    https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/StringsAndCharacters.md
    Checked 2026-10-25. Scope: Character, Unicode representation and string indexing.
  106. Swift book: Error Handling
    https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/ErrorHandling.md
    Checked 2026-10-25. Scope: Throws, try and recoverable errors.
  107. GNU Make 3.81 manual source
    https://raw.githubusercontent.com/mirror/make/3.81/doc/make.texi
    Checked 2026-10-25. Scope: Pinned upstream manual: rules, variables, recipes, automatic variables, order-only prerequisites and failure behavior.
  108. Installed GNU Make command manual
    man:make(1)
    Checked 2026-10-25. Scope: Installed command flags; read with man make on this tested Mac.
  109. Swift book: Control Flow
    https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/ControlFlow.md
    Checked 2026-10-25. Scope: Branches, switch exhaustiveness and loops.
  110. Swift book: Automatic Reference Counting
    https://raw.githubusercontent.com/swiftlang/swift-book/main/TSPL.docc/LanguageGuide/AutomaticReferenceCounting.md
    Checked 2026-10-25. Scope: Class instance lifetime and reference ownership; cycles are outside the exercised examples.
  111. Installed awk manual
    man:awk(1)
    Checked 2026-10-26. Scope: Installed 20200816 rules, records, fields, arrays, functions and I/O boundaries.
  112. One True Awk maintainer manual
    https://raw.githubusercontent.com/onetrueawk/awk/master/awk.1
    Checked 2026-10-26. Scope: Core semantics only; newer --csv support is excluded from this installed version.
  113. Installed macOS sed manual
    man:sed(1)
    Checked 2026-10-26. Scope: Editing cycle, addresses, substitution, hold space, branching and command-line flags.
  114. Apple sed manual source
    https://raw.githubusercontent.com/apple-oss-distributions/text_cmds/main/sed/sed.1
    Checked 2026-10-26. Scope: Apple-maintained documentation; local binary and execution evidence remain authoritative.
  115. Installed regular-expression manual
    man:re_format(7)
    Checked 2026-10-26. Scope: Basic versus extended regular expressions; ASCII C-locale scope.
  116. jq 1.7 manual
    https://jqlang.org/manual/v1.7/
    Checked 2026-10-26. Scope: Filter semantics, data parameters, input/output options and exit statuses.
  117. Installed jq manual
    man:jq(1)
    Checked 2026-10-26. Scope: Installed Apple jq 1.7.1 command-line behavior; executed examples remain authoritative.
  118. W3C XSLT 1.0 Recommendation
    https://www.w3.org/TR/xslt-10/
    Checked 2026-10-26. Scope: Templates, parameters, variables, keys, messages and serialization; version 1.0 only.
  119. W3C XPath 1.0 Recommendation
    https://www.w3.org/TR/1999/REC-xpath-19991116/
    Checked 2026-10-26. Scope: Supporting node selection, predicates, conversion and core functions only; standalone XPath remains planned.
  120. libxslt xsltproc manual
    https://gnome.pages.gitlab.gnome.org/libxslt/xsltproc.html
    Checked 2026-10-26. Scope: Command options, safety limits and separation of stylesheet/application errors.
  121. Installed xsltproc manual
    man:xsltproc(1)
    Checked 2026-10-26. Scope: Installed libxslt 1.1.35 with libxml2 2.9.13; only local authored inputs and trusted stylesheets.
  122. Tcl 8.5 command syntax
    https://www.tcl-lang.org/man/tcl8.5/TclCmd/Tcl.htm
    Checked 2026-10-26. Scope: Command words, substitution and grouping; web manual 8.5.19, tested interpreter 8.5.9.
  123. Tcl 8.5 list
    https://www.tcl-lang.org/man/tcl8.5/TclCmd/list.htm
    Checked 2026-10-26. Scope: Structured list construction, not script interpolation.
  124. Tcl 8.5 expressions
    https://www.tcl-lang.org/man/tcl8.5/TclCmd/expr.htm
    Checked 2026-10-26. Scope: Braced expressions, numeric forms and comparison.
  125. Tcl 8.5 dictionaries
    https://www.tcl-lang.org/man/tcl8.5/TclCmd/dict.htm
    Checked 2026-10-26. Scope: Presence, accumulation and structured key-value data.
  126. Tcl 8.5 completion codes
    https://www.tcl-lang.org/man/tcl8.5/TclCmd/catch.htm
    Checked 2026-10-26. Scope: catch result/options and exceptional completion codes.
  127. Tcl 8.5 open
    https://www.tcl-lang.org/man/tcl8.5/TclCmd/open.htm
    Checked 2026-10-26. Scope: Exclusive file creation and pipeline-path caveat.
  128. Tcl 8.5 channel configuration
    https://www.tcl-lang.org/man/tcl8.5/TclCmd/fconfigure.htm
    Checked 2026-10-26. Scope: Encoding, newline translation and buffering.
  129. Tcl 8.5 namespaces
    https://www.tcl-lang.org/man/tcl8.5/TclCmd/namespace.htm
    Checked 2026-10-26. Scope: Qualified procedures and trusted namespace definitions.
  130. Installed Tcl proc manual
    man:proc(n)
    Checked 2026-10-26. Scope: Procedure arguments and local scope; web proc retrieval timed out.
  131. Tcl 8.5 series release page
    https://www.tcl-lang.org/software/tcltk/8.5.html
    Checked 2026-10-26. Scope: Historical 8.5 series scope; no modern-runtime recommendation.
  132. Installed Expect manual
    man:expect(1)
    Checked 2026-10-26. Scope: spawn, send, exact/regexp matching, startup flags, timeout, exp_continue, EOF, wait and pseudo-terminal configuration.
  133. Expect project and successor notice
    https://core.tcl-lang.org/expect/index
    Checked 2026-10-26. Scope: Tcl extension role and old project notice; modern successor features excluded.
  134. Apple: About Objective-C
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html
    Checked 2026-10-26. Scope: Language and framework distinction. Archived guide; historical UI and network recipes excluded.
  135. Apple: Defining Classes
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/DefiningClasses/DefiningClasses.html
    Checked 2026-10-26. Scope: Interfaces, implementations and method declarations. Archived guide; historical UI and network recipes excluded.
  136. Apple: Working with Objects
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithObjects/WorkingwithObjects.html
    Checked 2026-10-26. Scope: Messages, initialization and nil. Archived guide; historical UI and network recipes excluded.
  137. Apple: Encapsulating Data
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/EncapsulatingData/EncapsulatingData.html
    Checked 2026-10-26. Scope: Property copying, ARC relationships and weak references. Archived guide; historical UI and network recipes excluded.
  138. Apple: Values and Collections
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/FoundationTypesandCollections/FoundationTypesandCollections.html
    Checked 2026-10-26. Scope: Boxing, object collections and absence. Archived guide; historical UI and network recipes excluded.
  139. Apple: Working with Protocols
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithProtocols/WorkingwithProtocols.html
    Checked 2026-10-26. Scope: Declared protocol contracts. Archived guide; historical UI and network recipes excluded.
  140. Apple: Customizing Existing Classes
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/CustomizingExistingClasses/CustomizingExistingClasses.html
    Checked 2026-10-26. Scope: Class extensions and category method naming. Archived guide; historical UI and network recipes excluded.
  141. Apple: Working with Blocks
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithBlocks/WorkingwithBlocks.html
    Checked 2026-10-26. Scope: Captures, __block and ownership cycles. Archived guide; historical UI and network recipes excluded.
  142. Apple: Dealing with Errors
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/ErrorHandling/ErrorHandling.html
    Checked 2026-10-26. Scope: Return values and NSError conventions. Archived guide; historical UI and network recipes excluded.
  143. Clang: Objective-C ARC
    https://clang.llvm.org/docs/AutomaticReferenceCounting.html
    Checked 2026-10-26. Scope: ARC flags and ownership semantics; Apple compiler subset is tested locally.
  144. Clang: Objective-C Literals
    https://clang.llvm.org/docs/ObjectiveCLiterals.html
    Checked 2026-10-26. Scope: Boxing and collection literal semantics; Apple compiler subset is tested locally.
  145. Apple: Characters and Grapheme Clusters
    https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Strings/Articles/stringsClusters.html
    Checked 2026-10-26. Scope: Archived NSString guide: UTF-16 units, composed sequences and range boundaries.